package com.smh.a02extendsdemo01;

public class Test {
    public static void main(String[] args) {

        Student student = new Student();
        student.setName("2412");
        System.out.println(student.getName());
        student.study();

        Teacher teacher = new Teacher();
        teacher.teach();



    }
}
